package com.glodon.paas.activity.dao.mysql;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.glodon.paas.activity.dao.AppInfoDao;
import com.glodon.paas.activity.dao.domain.AppInfoEntity;
import com.glodon.paas.activity.dao.mapper.AppInfoEntityMapper;

public class AppInfoDaoMysqlImpl implements AppInfoDao {
    @Autowired
    private AppInfoEntityMapper appInfoEntityMapper;

    @Override
    public Integer insertSelective(AppInfoEntity record) {
        return appInfoEntityMapper.insertSelective(record);
    }
 
    @Override
    public int deleteByPrimaryKey(Integer appId) {
        return appInfoEntityMapper.deleteByPrimaryKey(appId);
    }
 
    @Override
    public int updateByPrimaryKeySelective(AppInfoEntity record) {
        return appInfoEntityMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public AppInfoEntity selectByPrimaryKey(Integer appId) {
        return appInfoEntityMapper.selectByPrimaryKey(appId);
    }
    
    @Override
    public List<AppInfoEntity> selectAll() {
        return appInfoEntityMapper.selectAll();
    }
 
}
